#ifndef NETWORK_SOCKET_ADDRESS_H
#define NETWORK_SOCKET_ADDRESS_H

#include <winsock2.h>

#include "base/types.h"
#include "base/string_wrapper.h"

namespace network {

class SocketAddress {
public:
    SocketAddress(const base::StringWrapper& ip_address, uint16 port);

    inline const sockaddr_in& GetSocketAddress() const { return socket_address_; }

private:
    sockaddr_in socket_address_;

    DISALLOW_IMPLICIT_CONSTRUCTORS(SocketAddress);
};

} // namespace network

#endif // NETWORK_SOCKET_ADDRESS_H
